package cn.gson.crm.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the SALES_OPPORTUNITY database table.
 * 
 */
@Entity
@Table(name="SALES_OPPORTUNITY")
@NamedQuery(name="SalesOpportunity.findAll", query="SELECT s FROM SalesOpportunity s")
public class SalesOpportunity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="SALES_OPPORTUNITY_SOURCEID_GENERATOR", sequenceName="SEQ_43")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SALES_OPPORTUNITY_SOURCEID_GENERATOR")
	@Column(name="SOURCE_ID")
	private long sourceId;

	@Column(name="OPPORTUNITY_ID")
	private BigDecimal opportunityId;

	@Column(name="SOURCE_CONTENT")
	private String sourceContent;

	public SalesOpportunity() {
	}

	public long getSourceId() {
		return this.sourceId;
	}

	public void setSourceId(long sourceId) {
		this.sourceId = sourceId;
	}

	public BigDecimal getOpportunityId() {
		return this.opportunityId;
	}

	public void setOpportunityId(BigDecimal opportunityId) {
		this.opportunityId = opportunityId;
	}

	public String getSourceContent() {
		return this.sourceContent;
	}

	public void setSourceContent(String sourceContent) {
		this.sourceContent = sourceContent;
	}

}